package com.gopay.common.domain.cbrmb.customs.base;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

import com.gopay.common.constants.cbrmb.customs.NameSpace;

/**
 * 
 * @ClassName: InventoryReturn 
 * @Description: 进口清单回执 
 * @author gd.cui 
 * @date 2017年1月20日 下午2:28:16
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "guid", "customsCode", "ebpCode", "ebcCode", "agentCode", "copNo", "preNo", "invtNo",
		"returnStatus", "returnTime", "returnInfo" })
@XmlRootElement(name = "InventoryReturn", namespace = NameSpace.NAMESPACE_CEB_URI)
public class InventoryReturn {
	/**
	 * 电子口岸生成36位唯一序号（英文字母大写）
	 */
	@XmlElement(name = "guid", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String guid;

	/**
	 * 接受申报的海关关区代码。
	 */
	@XmlElement(name = "customsCode", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String customsCode;

	/**
	 * 电商平台的海关注册登记编号；电商平台未在海关注册登记，由电商企业发送订单的，以中国电子口岸发布的电商平台标识编号为准。。
	 */
	@XmlElement(name = "ebpCode", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String ebpCode;

	/**
	 * 电商企业的海关注册登记编号。
	 */
	@XmlElement(name = "ebcCode", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String ebcCode;

	/**
	 * 申报单位的海关注册登记编号。
	 */
	@XmlElement(name = "agentCode", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String agentCode;

	/**
	 * 企业内部标识单证的编号。
	 */
	@XmlElement(name = "copNo", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String copNo;

	/**
	 * 电子口岸标识单证的编号。
	 */
	@XmlElement(name = "preNo", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String preNo;

	/**
	 * 海关审核反馈清单的编号。
	 */
	@XmlElement(name = "invtNo", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String invtNo;

	/**
	 * 操作结果（2电子口岸申报中/3发送海关成功/4发送海关失败/100海关退单/120海关入库）,若小于0数字表示处理异常回执
	 */
	@XmlElement(name = "returnStatus", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String returnStatus;

	/**
	 * 操作时间(格式:YYYYMMDDhhmmssSSS)
	 */
	@XmlElement(name = "returnTime", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String returnTime;

	/**
	 * 备注（如:退单原因）
	 */
	@XmlElement(name = "returnInfo", namespace = NameSpace.NAMESPACE_CEB_URI, required = true)
	private String returnInfo;

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getCustomsCode() {
		return customsCode;
	}

	public void setCustomsCode(String customsCode) {
		this.customsCode = customsCode;
	}

	public String getEbpCode() {
		return ebpCode;
	}

	public void setEbpCode(String ebpCode) {
		this.ebpCode = ebpCode;
	}

	public String getEbcCode() {
		return ebcCode;
	}

	public void setEbcCode(String ebcCode) {
		this.ebcCode = ebcCode;
	}

	public String getAgentCode() {
		return agentCode;
	}

	public void setAgentCode(String agentCode) {
		this.agentCode = agentCode;
	}

	public String getCopNo() {
		return copNo;
	}

	public void setCopNo(String copNo) {
		this.copNo = copNo;
	}

	public String getPreNo() {
		return preNo;
	}

	public void setPreNo(String preNo) {
		this.preNo = preNo;
	}

	public String getInvtNo() {
		return invtNo;
	}

	public void setInvtNo(String invtNo) {
		this.invtNo = invtNo;
	}

	public String getReturnStatus() {
		return returnStatus;
	}

	public void setReturnStatus(String returnStatus) {
		this.returnStatus = returnStatus;
	}

	public String getReturnTime() {
		return returnTime;
	}

	public void setReturnTime(String returnTime) {
		this.returnTime = returnTime;
	}

	public String getReturnInfo() {
		return returnInfo;
	}

	public void setReturnInfo(String returnInfo) {
		this.returnInfo = returnInfo;
	}

}
